package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    List<ResourceVo> list(ResourceDto resourceDto);

    /**
     * 树形菜单
     * @param resourceDto
     * @return
     */
    TreeVo treeList(ResourceDto resourceDto);

    void add(ResourceDto resourceDto);
}
